class Undergraduate extends Student{
       public String degree;
       public Undergraduate(String name,int age,String degree){
           super(name,age);
           this.degree=degree;
       }
       public void show(){
               System.out.println("name："+name+"age:"+age+"degree:"+degree);
       }
}
